
package com.android.formula.model;

import java.io.Serializable;

import com.android.formula.dao.Column;
import com.android.formula.dao.Table;
import com.android.formula.utils.Constants;

@Table(name = Constants.DB_TB_TYPE_FORMULA)
public class TypeFormula implements Serializable {
    private static final long serialVersionUID = 1L;

    @Column(name = Constants.TABLE_TYPE_FORMULA_COL_TYPEID, type = Constants.DB_TYPE_INTEGER, isPrimaryKey = true, isAutoincrement = true)
    private int typeId;

    @Column(name = Constants.TABLE_TYPE_FORMULA_COL_TYPE_NAME, type = Constants.DB_TYPE_TEXT)
    private String typeName;

    @Column(name = Constants.TABLE_TYPE_FORMULA_COL_TYPE_SUBJECTID, type = Constants.DB_TYPE_INTEGER)
    private int subjectId;

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public int getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(int subjectId) {
        this.subjectId = subjectId;
    }

}
